package com.pagoda.nerp.trade.service.impl;

import com.pagoda.nerp.trade.service.SysBillRuleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.pagoda.nerp.trade.dao.SysBillRuleDao;

@Service
public class SysBillRuleServiceImpl implements SysBillRuleService {

	@Autowired
	public SysBillRuleDao sysBillRuleDao;
	
	public int generateId(String billCode){
		return sysBillRuleDao.generateId(billCode);
	}

	public String generateCode(String billCode){
		return sysBillRuleDao.generateCode(billCode);
	}
}
